package com.insist.util.aliyun;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.ResourceBundle;

/**
 * Created by thomas on 16/7/5.
 */
public class Configure {

    public final static ResourceBundle config = ResourceBundle.getBundle("config");

    private static Logger logger = LoggerFactory.getLogger(Configure.class);

    public static String getProperty(String key) {
        try {
            return config.getString(key);
        } catch (Exception ex) {
            logger.error("exception", ex);
        }
        return "";
    }

}
